// This button is used to override the "setText" method to notify any interested components that the button text has been specified
jsx3.Class.defineClass(
        "tibco.admin.monitormanage.uicomponents.misc.monitoringConfig.CustomButton", //the full name of the class to create
        jsx3.gui.Button, //  extends
        null, // implements
        function (plugin) {
        	plugin.ONSETTEXT = "tibco.admin.monitormanage.uicomponents.misc.monitoringConfig.CustomButton.SETTEXT";
        
            plugin.prototype.init = function() {
                this.jsxsuper();
            }
            
            plugin.prototype.setText = function(strText, bRepaint) {
            	this.jsxsuper(strText, bRepaint);
            	this.publish({subject:plugin.ONSETTEXT, event:null});
//            	alert("here " + strText);
            }

        });